package com.dianban.entity;

import java.util.Date;

/**
 * `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '编号',
 * `card_num` varchar(50) DEFAULT NULL COMMENT '卡号',
 * `password` varchar(50) DEFAULT NULL COMMENT '密码',
 * `status` varchar(10) DEFAULT NULL COMMENT '是否激活，0未激活，1已激活',
 * `type` varchar(10) DEFAULT NULL COMMENT '卡片类型，健康项目激活卡，礼品卡，提货卡',
 * `can_verify` int(10) DEFAULT NULL COMMENT '可以核销次数',
 * `has_verify` int(10) DEFAULT NULL COMMENT '已核销次数',
 * `user_id` int(11) DEFAULT NULL COMMENT '用户id',
 * `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
 * `activation_time` datetime DEFAULT NULL COMMENT '激活时间',
 * `effective_time_start` datetime DEFAULT NULL COMMENT '有效开始日期',
 * `effective_time_end` datetime DEFAULT NULL COMMENT '有效截止日期',
 */
public class Card {

    private Long id;
    private String cardNum;
    private String password;
    private String status;
    private String type;
    private Integer canVerify;
    private Integer hasVerify;
    private Long userId;
    private String storeId;
    private Date createTime;
    private Date activationTime;
    private Date effectiveTimeStart;
    private Date effectiveTimeEnd;
    private String storeName;
    private String storeIsOnline;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getCanVerify() {
        return canVerify;
    }

    public void setCanVerify(Integer canVerify) {
        this.canVerify = canVerify;
    }

    public Integer getHasVerify() {
        return hasVerify;
    }

    public void setHasVerify(Integer hasVerify) {
        this.hasVerify = hasVerify;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getActivationTime() {
        return activationTime;
    }

    public void setActivationTime(Date activationTime) {
        this.activationTime = activationTime;
    }

    public Date getEffectiveTimeStart() {
        return effectiveTimeStart;
    }

    public void setEffectiveTimeStart(Date effectiveTimeStart) {
        this.effectiveTimeStart = effectiveTimeStart;
    }

    public Date getEffectiveTimeEnd() {
        return effectiveTimeEnd;
    }

    public void setEffectiveTimeEnd(Date effectiveTimeEnd) {
        this.effectiveTimeEnd = effectiveTimeEnd;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStoreIsOnline() {
        return storeIsOnline;
    }

    public void setStoreIsOnline(String storeIsOnline) {
        this.storeIsOnline = storeIsOnline;
    }
}
